


const _THEME_PAGE_CONFIG =  {
    blonde:{
        template:'<nav aria-label="page navigation"><ul class="flex list-none my-5 p-0 justify-center">${index}${prev}${list}${next}${end}</ul>${info}</ul></nav>',
        active_tpl: '<li class="page-item active"><a href="${url}" class="mx-2 py-3 px-5 rounded-full relative block border-white border-0 duration-100 bg-blue-600 border-blue-600 text-white hover:border-blue-700 dark:border-gray-600">${page}</a></li>',
        info_tpl: '<div class="info" style="text-align:center;">共${total_page}页，${total}条记录</div>',
        next_tpl:'<li class="page-item"><a href="${url}" rel="next" class="mx-2 py-3 px-5 rounded-full relative block border-white border-0 duration-100 bg-white text-blue-600 hover:bg-gray-400 hover:text-blue-700 dark:bg-warmgray-900 dark:border-gray-600 dark:hover:bg-warmgray-700">下一页</a> </li>',
        prev_tpl:'<li class="page-item"><a href="${url}" rel="next" class="mx-2 py-3 px-5 rounded-full relative block border-white border-0 duration-100 bg-white text-blue-600 hover:bg-gray-400 hover:text-blue-700 dark:bg-warmgray-900 dark:border-gray-600 dark:hover:bg-warmgray-700">上一页</a> </li>',
        end_tpl:'<li class="page-item"><a href="${url}" rel="next" class="mx-2 py-3 px-5 rounded-full relative block border-white border-0 duration-100 bg-white text-blue-600 hover:bg-gray-400 hover:text-blue-700 dark:bg-warmgray-900 dark:border-gray-600 dark:hover:bg-warmgray-700">尾页</a> </li>',
        index_tpl:'<li class="page-item"><a href="${url}" rel="next" class="mx-2 py-3 px-5 rounded-full relative block border-white border-0 duration-100 bg-white text-blue-600 hover:bg-gray-400 hover:text-blue-700 dark:bg-warmgray-900 dark:border-gray-600 dark:hover:bg-warmgray-700">首页</a> </li>',
    }
};
 
module.exports = { 
    async $get_page_tpl(theme){ 
        let tc = _THEME_PAGE_CONFIG[theme];
        let pc = tc || {}; 
        // console.log('pc',pc)
        return pc;
    }
} ;